package com.project.service.impl;

import com.project.bean.CountryBean;
import com.project.mapper.ICountryMapper;
import com.project.service.ICountryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class CountryServiceImpl implements ICountryService {
    @Autowired
    private ICountryMapper mapper;
    @Override
    public List<CountryBean> findAll() {
        return mapper.findAll();
    }
}
